package com.etc.entity;

import org.springframework.stereotype.Component;

@Component
public class Checkout {
    private String chkId;
    private Livein livein;
    private int days;
    private float money;
    private String chkTime;
    private String remark;

    public String getChkId() {
        return chkId;
    }

    public void setChkId(String chkId) {
        this.chkId = chkId;
    }

    public Livein getLivein() {
        return livein;
    }

    public void setLivein(Livein livein) {
        this.livein = livein;
    }

    public int getDays() {
        return days;
    }

    public void setDays(int days) {
        this.days = days;
    }

    public float getMoney() {
        return money;
    }

    public void setMoney(float money) {
        this.money = money;
    }

    public String getChkTime() {
        return chkTime;
    }

    public void setChkTime(String chkTime) {
        this.chkTime = chkTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Checkout() {
    }

    public Checkout(String chkId, Livein livein, int days, float money, String chkTime, String remark) {
        this.chkId = chkId;
        this.livein = livein;
        this.days = days;
        this.money = money;
        this.chkTime = chkTime;
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "Checkout{" +
                "chkId='" + chkId + '\'' +
                ", livein=" + livein +
                ", days=" + days +
                ", money=" + money +
                ", chkTime='" + chkTime + '\'' +
                ", remark='" + remark + '\'' +
                '}';
    }
}
